package cn.wj.school.common.manager;

import cn.wj.school.common.dto.BaseMsg;

import io.netty.channel.Channel;

/**
 * @Author: yueding
 * @Description:
 * @Date: Created in 15:33 2018/12/29
 * @Modified By: yueding
 * Copyright(c) cai-inc.com
 */
public interface BaseManager {

    /**
     * beanName
     * @return
     */
    String beanName();

    /**
     * 处理Msg
     */
    void handleMsg(BaseMsg msg, Channel channel);

    /**
     * 获取消息对象
     */
    BaseMsg getObject();
}
